projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62c46f
)
* sysdep.c (system_process_attributes): Use CONS_TO_INTEGER in new FreeBSD code,...
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 22 Apr 2012 04:25:45 +0000
(21:25 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 22 Apr 2012 04:25:45 +0000
(21:25 -0700)
src/sysdep.c
patch
|
blob
|
history
diff --git
a/src/sysdep.c
b/src/sysdep.c
index 867b2d74bced31600d26a836ccf2c6866fd11fab..9d09d1d2c6759293831698775ea2a0999c35fd31 100644
(file)
--- a/
src/sysdep.c
+++ b/
src/sysdep.c
@@
-3157,7
+3157,7
@@
system_process_attributes (Lisp_Object pid)
Lisp_Object decoded_comm;
CHECK_NUMBER_OR_FLOAT (pid);
-
proc_id = FLOATP (pid) ? XFLOAT_DATA (pid) : XINT (p
id);
+
CONS_TO_INTEGER (pid, int, proc_
id);
mib[3] = proc_id;
if (sysctl (mib, 4, &proc, &proclen, NULL, 0) != 0)